﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jy123.BLL.User
{
    public class EnumClass
    {
        /// <summary>
        /// 取得邮件通知的值组合，如1,2,3,15,...
        /// </summary>
        /// <returns></returns>
        static public string GetEmailNotifyStr()
        {
            string s = string.Empty;
            foreach (int n in Enum.GetValues(typeof(EnumEmailSet)))
            {
                //if (s != string.Empty)

                s += n.ToString();
                s += ",";
            }
            return s;
        }
    }
}
